
package com.dhcc.bpm.modules.safe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.safe.entity.OrgaGateway;
import com.dhcc.bpm.modules.safe.vo.OrgaGatewayVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName OrgaGatewayMapper
 * @Description  网关访问控制机构关联表 Mapper 接口
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface OrgaGatewayMapper extends BaseMapper<OrgaGateway> {

	/**
	 * @Description 自定义分页
	 * @Author daina
	 * @Date 12:08 2020/3/3
	 * @param page
 * @param orgaGateway
	 * @return List<OrgaGatewayVO>
	 **/
	List<OrgaGatewayVO> selectOrgaGatewayPage(IPage page, OrgaGatewayVO orgaGateway);

	/**
	 * @Description 批量取消机构
	 * @Author daina
	 * @Date 12:08 2020/3/3
	 * @param opcControlId
	 * @param toLongArray
	 * @return int
	 **/
	int deleteOrgas(Long opcControlId,@Param("ids") Long[] toLongArray);
}
